package com.sz.youban.dt.interfs.allinpay;

import java.util.Map;

import com.sz.youban.dt.entity.result.ResultData;
import com.sz.youban.dt.model.PairDef;


/**
 * Created by liyang on 2017/6/13.
 */
public interface AllinpayService {

    /**
     * 实时单笔代收付
     */
	ResultData singleTranxReceivePay(String bankCode, String accountNo, String accountName, String amount,
                                         String userId, String phone, String province, String city, String cardId,
                                         String trxCode, String channel, String orderNo, String invokeUrl) throws Exception;


	/**
	 * 通联三要素验证 
	 * @param phone 
	 */
	PairDef<ResultData, Map<String, String>> authentication(String cardId, String accountName, String accountNo, String phone);
}
